package com.whisperly.echotalk.bllmodel;

import androidx.annotation.Keep;
import androidx.annotation.NonNull;

import java.io.Serializable;
@Keep
public class RegisterResponse implements Serializable {
    private static final long serialVersionUID = 7282892323898493847L;
    private Boolean nameExits;
    private Boolean emailExits;
    private Boolean success;

    public RegisterResponse(Boolean nameExits, Boolean emailExits, Boolean success) {
        this.nameExits = nameExits;
        this.emailExits = emailExits;
        this.success = success;
    }

    public RegisterResponse() {
    }

    @Override
    @NonNull
    public String toString() {
        return "RegisterResponse{" +
                "nameExits=" + nameExits +
                ", emailExits=" + emailExits +
                ", success=" + success +
                '}';
    }

    public Boolean getNameExits() {
        return nameExits;
    }

    public void setNameExits(Boolean nameExits) {
        this.nameExits = nameExits;
    }

    public Boolean getEmailExits() {
        return emailExits;
    }

    public void setEmailExits(Boolean emailExits) {
        this.emailExits = emailExits;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }
}